package com.swyc.osschat.Common.Exception;


/**
 * 请求无效异常
 * Created by taoping on 2016/8/16.
 */
public class ServiceException extends BaseException {
    private static final long serialVersionUID = 1690624130527369260L;

    public ServiceException() {
        super();
    }

    public ServiceException(ErrorCode error, String msg) {
        this(error, msg, null);
    }

    public ServiceException(ErrorCode error) {
        this(error, error.getMessage(), null);
    }

    public ServiceException(ErrorCode error, String msg, Object data) {
        super(error, msg, data);
    }
}
